module.exports = 'hello'

/**
 * c:\develop\node\nodebase\src\a
dirs [ 'c:\\develop\\node\\nodebase\\src\\a\\b',
  'c:\\develop\\node\\nodebase\\src\\a\\c',
  'c:\\develop\\node\\nodebase\\src\\a\\node.js' ]
dir=> c:\develop\node\nodebase\src\a function () {
    console.log('删除成功')
}
currentPaht c:\develop\node\nodebase\src\a\b
c:\develop\node\nodebase\src\a\b
dirs []
dir=> c:\develop\node\nodebase\src\a\b function next() {
                    console.log('dir=>', dir, cb)
                    if (index === dirs.length) return fs.rmdir(dir, cb)
                    const currentPath = dirs[index++]
                    console.log('currentPaht', currentPath)
                    preDeep(currentPath, next)
                }
dir=> c:\develop\node\nodebase\src\a function () {
    console.log('删除成功')
}
currentPaht c:\develop\node\nodebase\src\a\c
c:\develop\node\nodebase\src\a\c
dirs [ 'c:\\develop\\node\\nodebase\\src\\a\\c\\e' ]
dir=> c:\develop\node\nodebase\src\a\c function next() {
                    console.log('dir=>', dir, cb)
                    if (index === dirs.length) return fs.rmdir(dir, cb)
                    const currentPath = dirs[index++]
                    console.log('currentPaht', currentPath)
                    preDeep(currentPath, next)
                }
currentPaht c:\develop\node\nodebase\src\a\c\e
c:\develop\node\nodebase\src\a\c\e
dirs [ 'c:\\develop\\node\\nodebase\\src\\a\\c\\e\\f' ]
dir=> c:\develop\node\nodebase\src\a\c\e function next() {
                    console.log('dir=>', dir, cb)
                    if (index === dirs.length) return fs.rmdir(dir, cb)
                    const currentPath = dirs[index++]
                    console.log('currentPaht', currentPath)
                    preDeep(currentPath, next)
                }
currentPaht c:\develop\node\nodebase\src\a\c\e\f
c:\develop\node\nodebase\src\a\c\e\f
dirs []
dir=> c:\develop\node\nodebase\src\a\c\e\f function next() {
                    console.log('dir=>', dir, cb)
                    if (index === dirs.length) return fs.rmdir(dir, cb)
                    const currentPath = dirs[index++]
                    console.log('currentPaht', currentPath)
                    preDeep(currentPath, next)
                }
dir=> c:\develop\node\nodebase\src\a\c\e function next() {
                    console.log('dir=>', dir, cb)
                    if (index === dirs.length) return fs.rmdir(dir, cb)
                    const currentPath = dirs[index++]
                    console.log('currentPaht', currentPath)
                    preDeep(currentPath, next)
                }
dir=> c:\develop\node\nodebase\src\a\c function next() {
                    console.log('dir=>', dir, cb)
                    if (index === dirs.length) return fs.rmdir(dir, cb)
                    const currentPath = dirs[index++]
                    console.log('currentPaht', currentPath)
                    preDeep(currentPath, next)
                }
dir=> c:\develop\node\nodebase\src\a function () {
    console.log('删除成功')
}
currentPaht c:\develop\node\nodebase\src\a\node.js
c:\develop\node\nodebase\src\a\node.js
object=> c:\develop\node\nodebase\src\a\node.js function next() {
                    console.log('dir=>', dir, cb)
                    if (index === dirs.length) return fs.rmdir(dir, cb)
                    const currentPath = dirs[index++]
                    console.log('currentPaht', currentPath)
                    preDeep(currentPath, next)
                }
dir=> c:\develop\node\nodebase\src\a function () {
    console.log('删除成功')
}
删除成功
 */


/**
 * dir1=> c:\develop\node\nodebase\src\a () => {
    console.log('删除成功')
}
dirs=> [ 'c:\\develop\\node\\nodebase\\src\\a\\b',
  'c:\\develop\\node\\nodebase\\src\\a\\c',
  'c:\\develop\\node\\nodebase\\src\\a\\node.js' ]
dir2=> c:\develop\node\nodebase\src\a\b function done() {
                    if (++index === dirs.length) return fs.rmdir(dir, callback)
                }
dir1=> c:\develop\node\nodebase\src\a\b function done() {
                    if (++index === dirs.length) return fs.rmdir(dir, callback)
                }
dir2=> c:\develop\node\nodebase\src\a\c function done() {
                    if (++index === dirs.length) return fs.rmdir(dir, callback)
                }
dir1=> c:\develop\node\nodebase\src\a\c function done() {
                    if (++index === dirs.length) return fs.rmdir(dir, callback)
                }
dir2=> c:\develop\node\nodebase\src\a\node.js function done() {
                    if (++index === dirs.length) return fs.rmdir(dir, callback)
                }
dir1=> c:\develop\node\nodebase\src\a\node.js function done() {
                    if (++index === dirs.length) return fs.rmdir(dir, callback)
                }
object=> c:\develop\node\nodebase\src\a\node.js function done() {
                    if (++index === dirs.length) return fs.rmdir(dir, callback)
                }
dirs=> [ 'c:\\develop\\node\\nodebase\\src\\a\\b\\d' ]
dir2=> c:\develop\node\nodebase\src\a\b\d function done() {
                    if (++index === dirs.length) return fs.rmdir(dir, callback)
                }
dir1=> c:\develop\node\nodebase\src\a\b\d function done() {
                    if (++index === dirs.length) return fs.rmdir(dir, callback)
                }
dirs=> [ 'c:\\develop\\node\\nodebase\\src\\a\\c\\e' ]
dir2=> c:\develop\node\nodebase\src\a\c\e function done() {
                    if (++index === dirs.length) return fs.rmdir(dir, callback)
                }
dir1=> c:\develop\node\nodebase\src\a\c\e function done() {
                    if (++index === dirs.length) return fs.rmdir(dir, callback)
                }
dirs=> []
dirs=> [ 'c:\\develop\\node\\nodebase\\src\\a\\c\\e\\f' ]
dir2=> c:\develop\node\nodebase\src\a\c\e\f function done() {
                    if (++index === dirs.length) return fs.rmdir(dir, callback)
                }
dir1=> c:\develop\node\nodebase\src\a\c\e\f function done() {
                    if (++index === dirs.length) return fs.rmdir(dir, callback)
                }
dirs=> []
删除成功
 */
